<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>minid.mathlib</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "minid.mathlib";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/minid.mathlib.html" class="symbol">minid.mathlib</a></h1>
  
<p class="sec_header">License:</p>Copyright (c) 2008 Jarrett Billingsley
<p class="bl"/>
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the
use of this software.
<p class="bl"/>
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
<p class="bl"/>
    1. The origin of this software must not be misrepresented; you must not
	claim that you wrote the original software. If you use this software in a
	product, an acknowledgment in the product documentation would be
	appreciated but is not required.
<p class="bl"/>
    2. Altered source versions must be plainly marked as such, and must not
	be misrepresented as being the original software.
<p class="bl"/>
    3. This notice may not be removed or altered from any source distribution.
<dl>
<dt class="decl">void <a class="symbol _function" name="register" href="./htmlsrc/minid.mathlib.html#L35" kind="function" beg="35" end="39">register</a><span class="params">(MDThread* <em>t</em>, char[] <em>name</em>, NativeFunc <em>func</em>, uword <em>numUpvals</em> = 0)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#register" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L35">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">struct <a class="symbol _struct" name="MathLib" href="./htmlsrc/minid.mathlib.html#L41" kind="struct" beg="41" end="427">MathLib</a>; <a title="Permalink to this symbol" href="#MathLib" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L41">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">void <a class="symbol _function" name="MathLib.init" href="./htmlsrc/minid.mathlib.html#L44" kind="function" beg="44" end="100">init</a><span class="params">(MDThread* <em>t</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.init" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L44">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">mdfloat <a class="symbol _function" name="MathLib.get_float" href="./htmlsrc/minid.mathlib.html#L102" kind="function" beg="102" end="115">get_float</a><span class="params">(MDThread* <em>t</em>, word <em>i</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.get_float" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L102">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.abs" href="./htmlsrc/minid.mathlib.html#L117" kind="function" beg="117" end="130">abs</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.abs" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L117">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.sin" href="./htmlsrc/minid.mathlib.html#L132" kind="function" beg="132" end="136">sin</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.sin" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L132">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.cos" href="./htmlsrc/minid.mathlib.html#L138" kind="function" beg="138" end="142">cos</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.cos" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L138">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.tan" href="./htmlsrc/minid.mathlib.html#L144" kind="function" beg="144" end="148">tan</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.tan" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L144">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.asin" href="./htmlsrc/minid.mathlib.html#L150" kind="function" beg="150" end="154">asin</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.asin" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L150">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.acos" href="./htmlsrc/minid.mathlib.html#L156" kind="function" beg="156" end="160">acos</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.acos" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L156">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.atan" href="./htmlsrc/minid.mathlib.html#L162" kind="function" beg="162" end="166">atan</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.atan" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L162">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.atan2" href="./htmlsrc/minid.mathlib.html#L168" kind="function" beg="168" end="172">atan2</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.atan2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L168">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.sqrt" href="./htmlsrc/minid.mathlib.html#L174" kind="function" beg="174" end="178">sqrt</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.sqrt" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L174">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.cbrt" href="./htmlsrc/minid.mathlib.html#L180" kind="function" beg="180" end="184">cbrt</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.cbrt" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L180">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.exp" href="./htmlsrc/minid.mathlib.html#L186" kind="function" beg="186" end="190">exp</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.exp" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L186">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.ln" href="./htmlsrc/minid.mathlib.html#L192" kind="function" beg="192" end="196">ln</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.ln" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L192">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.log2" href="./htmlsrc/minid.mathlib.html#L198" kind="function" beg="198" end="202">log2</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.log2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L198">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.log10" href="./htmlsrc/minid.mathlib.html#L204" kind="function" beg="204" end="208">log10</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.log10" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L204">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.hypot" href="./htmlsrc/minid.mathlib.html#L210" kind="function" beg="210" end="214">hypot</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.hypot" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L210">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.lgamma" href="./htmlsrc/minid.mathlib.html#L216" kind="function" beg="216" end="220">lgamma</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.lgamma" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L216">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.gamma" href="./htmlsrc/minid.mathlib.html#L222" kind="function" beg="222" end="226">gamma</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.gamma" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L222">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.ceil" href="./htmlsrc/minid.mathlib.html#L228" kind="function" beg="228" end="232">ceil</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.ceil" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L228">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.floor" href="./htmlsrc/minid.mathlib.html#L234" kind="function" beg="234" end="238">floor</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.floor" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L234">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.round" href="./htmlsrc/minid.mathlib.html#L240" kind="function" beg="240" end="244">round</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.round" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L240">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.trunc" href="./htmlsrc/minid.mathlib.html#L246" kind="function" beg="246" end="250">trunc</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.trunc" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L246">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.isNan" href="./htmlsrc/minid.mathlib.html#L252" kind="function" beg="252" end="256">isNan</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.isNan" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L252">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.isInf" href="./htmlsrc/minid.mathlib.html#L258" kind="function" beg="258" end="262">isInf</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.isInf" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L258">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.sign" href="./htmlsrc/minid.mathlib.html#L264" kind="function" beg="264" end="290">sign</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.sign" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L264">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.pow" href="./htmlsrc/minid.mathlib.html#L292" kind="function" beg="292" end="302">pow</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.pow" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L292">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.rand" href="./htmlsrc/minid.mathlib.html#L304" kind="function" beg="304" end="342">rand</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.rand" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L304">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.frand" href="./htmlsrc/minid.mathlib.html#L344" kind="function" beg="344" end="367">frand</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.frand" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L344">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.max" href="./htmlsrc/minid.mathlib.html#L369" kind="function" beg="369" end="396">max</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.max" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L369">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="MathLib.min" href="./htmlsrc/minid.mathlib.html#L398" kind="function" beg="398" end="426">min</a><span class="params">(MDThread* <em>t</em>, uword <em>numParams</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#MathLib.min" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.mathlib.html#L398">#</a></dt>
<dd class="ddef"></dd></dl></dd></dl>
</div>
<div id="footer">
  <p></p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 03:29:23 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>